<?php

namespace app\repositories\contracts;

/***
 * Interface RootInterface
 * @NAMESPACE app\repositories\contracts
 * @Author Vee7
 * @Date 2021/12/14
 * @Time 13:11
 * @Description 后台管理员接口
 */
interface RootInterface
{
    /***
     * @return mixed
     * @Author Vee7
     * @Date 2021/12/14
     * @Time 13:11
     * @Description 获取后台管理员列表
     */
    public function getRootList($orderby='sort',$order='desc');

    public function addRootList(array $addArray);

    public function getRootListCount();

    public function getRootListPage($page,$limit,$orderby='sort',$order='desc');

    public function delRootList(array $id);

    public function editRootList(array $data);

}